// 定义一个mixin 复用代码 mixin {}
export const showMixin = {
  data() {
    return {
      show: true
    };
  },
  methods: {
    toggleShow() {
      this.show = !this.show;
    }
  },
  created() {
    console.log("hello");
  }
};
